<!DOCTYPE html>
<html lang="en">

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="css/style.css" rel="stylesheet">
</head>

<body>
    <script>
        let n = 4
        let A = 'abcd'
        fsafafsd
        asfasfsdafsdfdsfsdadsa
        efsfs
        fds
        let B = 'efgh'
        let res = '';
        sdfdsafsafs
        for (let i = 0; i < n; i++) {
            res += A[i] + B[i]
        }
        console.log(res)
    </script>
</body>

</html>